public class a {
    private double a;

    public Integer getA() {
        Integer b=new Double(a).intValue();
        return b;
    }

    public void setA(double a) {
        this.a = a;
    }
}
